package com.insta.formation.library.service.impl;

import com.insta.formation.library.model.IRentBook;
import com.insta.formation.library.model.IUser;
import com.insta.formation.library.service.ISubscriberService;

public class SubscriberServiceImpl implements ISubscriberService {
	
	public void ShowLibrary() 
	{
		 ServiceFactoryImpl srv = new ServiceFactoryImpl();
		 srv.ShowLibrary();
	}


	public boolean RentBook(IRentBook rentbook) {
		ServiceFactoryImpl srv = new ServiceFactoryImpl();
		return srv.RentBook(rentbook);

	}

	public void DeleteOwnCount(IUser user) {
		ServiceFactoryImpl srv = new ServiceFactoryImpl();
		srv.DeleteOwnCount(user);
	}



}
